package message;
//BEIJING 2013-4-29
import realMessage.Amessage;

public class messageBody {
	int type;
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public long getSerialNumber() {
		return serialNumber;
	}
	public void setSerialNumber(long serialNumber) {
		this.serialNumber = serialNumber;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	long serialNumber;
//	String message;
	Amessage message;
	
	@Override
	public String toString() {
		return getType()+"^"+getSerialNumber()+"^"+getMessage()+"$";
	}
	
}
